<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>2DDrawing</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">PureBasic - 2DDrawing</font></b></p>

<p><b>概要</b></p><blockquote>

2D绘图库包含了所有在视觉区域执行2D渲染操作.
画一条线,一个方块,一个圆或任何文本都被视为2D渲染操作. <br><br>T绘图函数可以输出到一个窗体, 一个屏幕, 一个画面, 一张图像, 一个纹理或者打印机上..  详情请参考 <a href="startdrawing.html">StartDrawing()</a>. <br><br>注意：绘制过程必须在调用 <a href="startdrawing.html">StartDrawing()</a> 开始并以调用 <a href="stopdrawing.html">StopDrawing()</a>结束. 

</blockquote><p><b>命令索引</b><blockquote>
取得Alpha颜色分量<a href="alpha.html">Alpha</a><br>Alpha混合颜色<a href="alphablend.html">AlphaBlend</a><br>设置背景色<a href="backcolor.html">BackColor</a><br>取得蓝色分量值<a href="blue.html">Blue</a><br>绘制矩形<a href="box.html">Box</a><br>矩形梯度<a href="boxedgradient.html">BoxedGradient</a><br>绘制圆<a href="circle.html">Circle</a><br>锥形梯度<a href="circulargradient.html">CircularGradient</a><br>设置绘图区域<a href="clipoutput.html">ClipOutput</a><br><a href="conicalgradient.html">ConicalGradient</a><br>自定义筛选回调<a href="customfiltercallback.html">CustomFilterCallback</a><br>自定义梯度<a href="customgradient.html">CustomGradient</a><br>绘制α图<a href="drawalphaimage.html">DrawAlphaImage</a><br>绘制图像<a href="drawimage.html">DrawImage</a><br>绘制旋转文本<a href="drawrotatedtext.html">DrawRotatedText</a><br>绘制文本<a href="drawtext.html">DrawText</a><br>绘图缓冲区<a href="drawingbuffer.html">DrawingBuffer</a><br>绘图缓冲区间距<a href="drawingbufferpitch.html">DrawingBufferPitch</a><br>图形缓冲区像素格式<a href="drawingbufferpixelformat.html">DrawingBufferPixelFormat</a><br>绘图字体<a href="drawingfont.html">DrawingFont</a><br>绘图模式<a href="drawingmode.html">DrawingMode</a><br>椭圆<a href="ellipse.html">Ellipse</a><br>椭圆梯度<a href="ellipticalgradient.html">EllipticalGradient</a><br>填充区域<a href="fillarea.html">FillArea</a><br>字体颜色<a href="frontcolor.html">FrontColor</a><br>原点X<a href="getoriginx.html">GetOriginX</a><br>原点Y<a href="getoriginy.html">GetOriginY</a><br>抓取图形图像<a href="grabdrawingimage.html">GrabDrawingImage</a><br>渐变颜色<a href="gradientcolor.html">GradientColor</a><br><a href="green.html">Green</a><br><a href="line.html">Line</a><br><a href="linexy.html">LineXY</a><br><a href="lineargradient.html">LinearGradient</a><br><a href="outputdepth.html">OutputDepth</a><br><a href="outputheight.html">OutputHeight</a><br><a href="outputwidth.html">OutputWidth</a><br><a href="plot.html">Plot</a><br><a href="point.html">Point</a><br><a href="rgb.html">RGB</a><br><a href="rgba.html">RGBA</a><br><a href="red.html">Red</a><br><a href="resetgradientcolors.html">ResetGradientColors</a><br><a href="roundbox.html">RoundBox</a><br>设置原点<a href="setorigin.html">SetOrigin</a><br>开始绘图<a href="startdrawing.html">StartDrawing</a><br>停止绘图<a href="stopdrawing.html">StopDrawing</a><br>文本高度<a href="textheight.html">TextHeight</a><br>文本宽度<a href="textwidth.html">TextWidth</a><br>取消绘图区限制<a href="unclipoutput.html">UnclipOutput</a><br>
</blockquote></p>

<p><b>示例</b></p><blockquote>
<a href="../Examples/2DDrawing.pb.html">2DDrawing.pb</a>
<br><a href="../Examples/2DDrawingAlpha.pb.html">2DDrawingAlpha.pb</a>
<br><a href="../Examples/DirectScreenDrawing.pb.html">DirectScreenDrawing.pb</a>

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center><a href="../index.html">参考手册 - 索引</a></center><br><br>

</body></html>